package com.offcn.mq.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author ld
 * @date 2021/9/18 15:58
 */
@Configuration
public class SimpleQueueConfig {

    @Bean
    public Queue simpleQueue() {
        return new Queue(MqName.SIMPLEQUEUE);
    }
}
